import { request,requestMock } from "@/utils/http";

export const requestTradeAddress = ()=>{
    return requestMock.get("/address")
}
export const requestTradeInfo = ()=>{
    return request.get("/api/order/auth/trade")
}
export const requestSubmitOrder = (tradeNo,tradeInfo)=>{
    return request.post(`/api/order/auth/submitOrder?tradeNo=${tradeNo}`,tradeInfo)
}